/**
 * 
 */
package org.softTank.wsdlParser;

import java.io.File;
import java.net.URL;

import javax.xml.bind.JAXBException;

/**
 * @author Yuzone
 *
 */
public class WsdlFactoryImpl implements WsdlFactory {

	/* (non-Javadoc)
	 * @see org.softTank.wsdlParser.WsdlFactory#getWsdlParser(java.io.File)
	 */
	@Override
	public WsdlParser getWsdlParser(File wsdl) throws JAXBException {
		return new WsdlParserImpl(wsdl);
	}

	/* (non-Javadoc)
	 * @see org.softTank.wsdlParser.WsdlFactory#getWsdlParser(java.lang.String)
	 */
	@Override
	public WsdlParser getWsdlParser(String wsdlContent) throws JAXBException {
		return new WsdlParserImpl(wsdlContent);
	}

	/* (non-Javadoc)
	 * @see org.softTank.wsdlParser.WsdlFactory#getWsdlParser(java.net.URL)
	 */
	@Override
	public WsdlParser getWsdlParser(URL wsdlUrl) throws JAXBException {
		return new WsdlParserImpl(wsdlUrl);
	}

	/* (non-Javadoc)
	 * @see org.softTank.wsdlParser.WsdlFactory#getWsdlParser()
	 */
	@Override
	public WsdlParser getWsdlParser() {
		return new WsdlParserImpl();
	}

	@Override
	public BpelDecorator getBpelDecorator() {
		return new BpelDecoratorImpl();
	}

}
